package com.example.myerp.controller;


import com.example.myerp.pojo.Inbound_Scheduling;
import com.example.myerp.pojo.S_pay_detatils;
import com.example.myerp.service.S_pay_detatilsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-10
 */
@RestController
@RequestMapping("/purchase/s_pay_detatils")
@SuppressWarnings("all")
public class S_pay_detatilsController {
    @Autowired
    S_pay_detatilsService service;
    @RequestMapping("/selSon")
    public List<S_pay_detatils> selSon(Long parentId){
        return  service.selSon(parentId);
    }


    @RequestMapping("/selInbSch")
    public List<Inbound_Scheduling> selInbSch(Long parentId) {
        return service.selInbSch(parentId);
    }

}

